package com.wanxi.test;

public class Dog extends Animal{
//    public void eat(){
//        System.out.println("狗吃");
//    }


    public Dog() {
    }
    public void eat() {
        System.out.println("狗吃");
    }
    public Dog(String name) {
        super(name);
    }
}
